package com.linln.modules.homerotation.service;

import com.linln.common.vo.PageResult;
import com.linln.modules.homerotation.domain.HomeRotation;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
* @Project: timo
* @Package com.linln.modules.homerotation.service
* @Descriptio
/**
* @Project: timo
* @Package com.linln.modules.homerotation.service
* @Description: TODO
* @author : pengliang
* @date Date : 2021年01月12日 11:08
* @version V1.0
*/

public interface HomeRotationService extends IService<HomeRotation>{

    //获取轮播图
    List<HomeRotation> getHoneRotation(Integer rotationType);
    //添加轮播图
    boolean addHoneRotation(MultipartFile file,HomeRotation homeRotation);
    //跟新轮播图
    boolean updateHoneRotation(MultipartFile file,HomeRotation homeRotation);
    //删除轮播图
    boolean deleteHoneRotation(String id);

}
